/**
 * 
 */
package com.honghao.student.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Component;


/**
 * @author honghao.li
 *
 */
@Component
public abstract class AbstractMongoDAO {
    
    protected MongoTemplate mongoTemplate;

    /**
     * @param mongoTemplate the mongoTemplate to set
     */
    @Autowired
    public void setMongoTemplate(MongoTemplate mongoTemplate) {
        this.mongoTemplate = mongoTemplate;
    }
    
}
